package com.seed.core.pojo.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

/**
 * @author gchiaway
 * 日期: 2020-02-23
 * 时间: 0:26
 */
@Getter
@Setter
@ToString
public class SeedBaseVO implements Serializable {

    private static final long serialVersionUID = 6313774672150421651L;

    /**
     * 是否成功
     */
    @ApiModelProperty(value = "是否成功", example = "true")
    private Boolean success;

    /**
     * 提示信息
     */
    @ApiModelProperty(value = "提示信息", example = "操作成功")
    private String message;

    /**
     * 提示码
     */
    @ApiModelProperty(value = "提示码")
    private String code;

    public SeedBaseVO() {
        this.success = true;
        this.message = "操作成功";
        this.code = "000000";
    }
}
